import request from '@/utils/request';

export async function fakeAccountLogin(params) {
  let formData = new FormData();
  formData.append("username",params.username);
  formData.append("password",params.password);
  return request('/login', {
    method: 'POST',
    body: formData,
  });
}
export async function getFakeCaptcha(mobile) {
  return request(`/api/login/captcha?mobile=${mobile}`);
}
